<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<!-- Bootstrap CSS-->
		<link rel="stylesheet" href="../vendor/bootstrap/css/bootstrap.css">
		<!-- Font Awesome CSS-->
		<link rel="stylesheet" href="../vendor/font-awesome/css/font-awesome.min.css">
		<!-- Custom Font Icons CSS-->
		<link rel="stylesheet" href="../css/font.css">
		<!-- theme stylesheet-->
		<link rel="stylesheet" href="../css/style.default.css" id="theme-stylesheet">
		<!-- Custom stylesheet - for your changes-->
		<link rel="stylesheet" href="../css/custom.css">
		<link rel="stylesheet" href="../css/layer.css">
		<title>用户详情</title>

	</head>
	<body>
		<div id="app">
			<header class="header">

			</header>

			<div class="d-flex align-items-stretch">
				<!-- Sidebar Navigation-->
				<nav id="sidebar">
					<!-- Sidebar Header-->
					<div id="user">

                    </div>
					<!-- Sidebar Navidation Menus--><span class="heading">Main</span>
					<ul class="list-unstyled">
						<li><a href="home.html"> <i class="icon-home"></i>主页 </a></li>
						<li><a href="#userDropdown" data-toggle="collapse"> <i class="icon-windows"></i>用户列表</a>
							<ul id="userDropdown" class="collapse list-unstyled">
								<li><a href="user.html">查看用户</a></li>
								<li><a href="my_user.html">我关注的用户</a></li>
								<li><a href="article.html">发布文章</a></li>
								<li><a href="article_collect.html">我的收藏</a></li>
							</ul>
						</li>
						<!--<li><a href="login.html"> <i class="icon-logout"></i>Login page </a></li>-->

						<li><a href="#depDropdown" data-toggle="collapse"> <i class="icon-windows2"></i>部门列表</a>
							<ul id="depDropdown" class="collapse list-unstyled ">
								<li><a href="department.html">全部部门</a></li>
								<li><a href="meeting.html">会议系统</a></li>
							</ul>
						</li>

					</ul>

				</nav>
				<!-- Sidebar Navigation end-->
				<div class="page-content" id="content">
					<div class="page-header">
						<div class="container-fluid">
							<h2 class="h5 no-margin-bottom">用户详情</h2>
						</div>
					</div>
					<section class="no-padding-bottom">
						<!-- Form Elements -->
						<div class="col-lg-12">
							<div class="block">
								<div class="title"><strong>TA的头像</strong></div>
								<div class="avatar"><img :src="user.pic" alt="加载中..." style="width: 150px;height: 150px" class="img-thumbnail rounded-circle"></div>
								<!--<div style="margin-top: 15px" class="text-left">-->
								<!--&lt;!&ndash; 用于展示上传文件名的表单 &ndash;&gt;-->
								<!--<input id="showname" onclick="makeThisfile()" type="button" class="btn btn-primary" value="更换头像">-->
								<!--&lt;!&ndash; 真正的文件上传表单 &ndash;&gt;-->
								<!--<input name="realFile" type="file" id="myFile" style="display: none" />-->
								<!--</div>-->
								<div class="title">
									<br>
									<p class="h5"><strong>粉丝数：</strong><span>&nbsp;</span><span>&nbsp;</span><span>{{focus}}</span></p>
									<br>
									<p class="h5"><strong>被看数：</strong><span>&nbsp;</span><span>&nbsp;</span><span>{{user.look}}</span>
									</p>
									<br>
								</div>
								<div class="title"><strong>TA的数据</strong></div>
								<div class="block-body">
									<form class="form-horizontal">
										<div class="form-group row">
											<label class="col-sm-3 form-control-label">用户名</label>
											<div class="col-sm-9">
												<input disabled="disabled" type="text" v-model="user.username" class="form-control">
											</div>
										</div>
										<div class="form-group row">
											<label class="col-sm-3 form-control-label">真实姓名</label>
											<div class="col-sm-9">
												<input disabled="disabled" type="text" v-model="user.realName" class="form-control">
											</div>
										</div>
										<div class="line"></div>
										<div class="form-group row">
											<label class="col-sm-3 form-control-label">所属部门</label>
											<div class="col-sm-9">
												<input disabled="disabled" type="text" v-model="user.deptName" class="form-control">
											</div>
										</div>
										<div class="line"></div>
										<div class="form-group row">
											<label class="col-sm-3 form-control-label">电话</label>
											<div class="col-sm-9">
												<input disabled="disabled" type="text" v-model="user.phone" name="password" class="form-control">
											</div>
										</div>
										<div class="line"></div>
										<div class="form-group row">
											<label class="col-sm-3 form-control-label">年龄</label>
											<div class="col-sm-9">
												<input disabled="disabled" type="text" v-model="user.age" class="form-control">
											</div>
										</div>
										<div class="form-group row">
											<label class="col-sm-3 form-control-label">性别 </label>
											<div class="col-sm-9">

												<div class="i-checks">
													<input disabled="disabled" id="radioCustom1" type="radio" v-model="user.gender" value="1" name="sex" class="radio-template">
													<label for="radioCustom1">男</label>
													<span>&nbsp;</span><span>&nbsp;</span><span>&nbsp;</span>
													<input disabled="disabled" id="radioCustom2" type="radio" value="0" v-model="user.gender" name="sex" class="radio-template">
													<label for="radioCustom2">女</label>
												</div>
											</div>


										</div>
										<div class="line"></div>
										<div class="form-group row">
											<label class="col-sm-3 form-control-label">注册时间</label>
											<div class="col-sm-9">
												<input type="text" disabled="" v-model="user.registerTime" class="form-control">
											</div>
										</div>
										<div class="line"></div>
										<div class="form-group row">
											<label class="col-sm-3 form-control-label">登录时间</label>
											<div class="col-sm-9">
												<input type="text" disabled="" v-model="user.loginTime" class="form-control">
											</div>
										</div>
										<div class="line"></div>

										<div class="form-group row">
											<label class="col-sm-3 form-control-label">是否私密 <br><small class="text-primary">默认为否，可以不设置</small></label>
											<div class="col-sm-9">
												<div class="i-checks">
													<input disabled="disabled" id="checkboxCustom1" type="checkbox" v-model="user.isSecret" value="0" true-value="0" false-value="1" class="checkbox-template">
													<label for="checkboxCustom1">是否私密</label>
												</div>

											</div>


										</div>
										<div class="line"></div>
										<!--<div class="text-center">-->
										<!--<input type="submit" class="btn btn-primary" value="保存">-->
										<!--</div>-->
									</form>
								</div>
							</div>
						</div>
					</section>

					<footer class="footer">
						<div class="footer__block block no-margin-bottom">
							<div class="container-fluid text-center">
								<p class="no-margin-bottom">Copyright &copy; 2019.Company <a href="#">东方标准</a></p>
							</div>
						</div>
					</footer>
				</div>
			</div>
		</div>
		<!-- JavaScript files-->
		<script src="../vendor/jquery/jquery.min.js"></script>
		<script src="../vendor/popper.js/umd/popper.min.js"></script>
		<script src="../vendor/bootstrap/js/bootstrap.min.js"></script>
		<script src="../vendor/jquery.cookie/jquery.cookie.js"></script>
		<script src="../vendor/chart.js/Chart.min.js"></script>
		<script src="../vendor/jquery-validation/jquery.validate.min.js"></script>
		<script src="../js/front.js"></script>
		<script src="../js/custom.js"></script>
		<script src="../js/layer.js"></script>
		<script src="../js/vue-2.6.11.js"></script>
		<script src="../js/axios-0.19.2.min.js"></script>
		<script src="../js/jquery-cookie-1.4.1.js"></script>
        <script>
            $(function () {
                $('.header').load("/html/navbar.html");
                $('#user').load("/html/sidebar.html");
            })
        </script>
		<script src="../js/xbjs/user_detail.js"></script>
	</body>
</html>
